import React from 'react'
import {withRouter} from 'react-router-dom'
import '../../static/icon/iconfont.css'
// react 函数组件 也叫无状态组件

export default withRouter(props => (
        <div className="han_list_jump" onClick={()=>props.history.push(props.path)}>{props.title}<span className="iconfont icon-101fangxiang_xiangyou"></span></div>
))

